package cn.t.service.order;

import cn.t.core.service.ServiceImpl;
import cn.t.model.order.ReplenishmentRecordDO;
import cn.t.repository.order.ReplenishmentRecordRepository;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 后台补货记录表(ReplenishmentRecord)领域服务
 *
 * @author t
 * @since 2024-05-24 10:19:12
 */
@Slf4j
@Service
@AllArgsConstructor
public class ReplenishmentRecordService extends ServiceImpl<ReplenishmentRecordDO, ReplenishmentRecordRepository> {

    public boolean addBatch(List<ReplenishmentRecordDO> replenishmentRecordDOs) {
        return this.repository.addBatch(replenishmentRecordDOs);
    }
}
